﻿using UnityEngine;
using System.Linq;
using ETModel;
using System.Collections.Generic;

public class TestTrail : MonoBehaviour {

    private Animator animator;

    void Start() {
        animator = GetComponent<Animator>();
    }

    void OnGUI() {
        if (GUI.Button(new Rect(0, 0, 50, 50), "Jab")) {
            animator.SetTrigger("Jab");
        }
        if (GUI.Button(new Rect(50, 0, 50, 50), "Hikick")) {
            animator.SetTrigger("Hikick");
        }
        if (GUI.Button(new Rect(100, 0, 50, 50), "Spinkick")) {
            animator.SetTrigger("Spinkick");
        }
    }
}